*************************************************************************
* File-Name: 	ReadMe.txt
* Date:  	06/21/2021
* Author: 	Michaël Aklin and Johannes Urpelainen
* Purpose:   	Replication package for: 
*
*		Aklin, Michaël and Johannes Urpelainen. "The Evolving 
*		Role of Solar-Based Lighting Solutions in Rural India: 
*		Global Lessons for Distributed Renewables" Energy For 
*		Sustainable Development
*************************************************************************


This is the ReadMe file for the replication package of: 

		Aklin, Michaël and Johannes Urpelainen. "The Evolving 
		Role of Solar-Based Lighting Solutions in Rural India: 
		Global Lessons for Distributed Renewables" Energy For 
		Sustainable Development

The replication package include:
> ReadMe.txt			This file
> AccessOffGridCoding.do		A Stata script to pre-process the data.
> AccessOffGridAnalysis.do	A Stata script to analyze the data.
> AccessOffGrid.R		An R script to generate plots.

To replicate the paper's findings:

(1) Download the ACCESS panel data from: 
https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/AHFINM
Select:
CEEW - ACCESS20152018 Appended.tab 

(2) Run AccessOffGridCoding.do
Adapt the path where indicated. This will generate a new dataset called 
DataCleaned.dta (Stata v.12 dataset). 

(3) Run AccessOffGridAnalysis.do or AccessOffGrid.R
AccessOffGridAnalysis.do contains the coefficient plots and all the tables
listed in the appendix. AccessOffGrid.R contains the code to generate the
Sankey graphs. 





